Quantcast
Channel: CodeProject Latest postings for Regular Expressions
Viewing all articles
Browse latest Browse all 224

Regex to match exact word and dash symbol

$
0
0
hi would any one have a regex that would match (aug -) or(july -) or (june -)without the brackets
but would not match just (aug)or (july) or (june)
So far i have
\W*((?i)aug -(?-i))\W*
but this also matches aug which i dont want thanks

Viewing all articles
Browse latest Browse all 224

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>