Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regular expression quantifiers

Status
Not open for further replies.

kanghao

IS-IT--Management
Jul 4, 2004
68
KR
how can I filter m or n times, not m through n times in "&#[0-9]{3,5};".

for example
{ => true
〹 => true
Ӓ => false

thanks.
 
Try this pattern.
[tt]"&#([0-9]{3}|[0-9]{5});"[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top