Match Numbers in HTML content (not in tag attributes) with REGEX in PHP

Gysn

New Member
I have a problem! I wanna detect any numbers in HTML content without numbers in tag attributes, I wanna change this numbers to other character then only numbers not in HTML TAG ATTRIBUTES that match with this REGEX.Example:\[code\]Hi 3456; <a href="http://stackoverflow.com/questions/3634021/?id=4456">your code: 345</a> \[/code\]Matched 3456, 345Not Matched 4456Thanks from all
 
Back
Top