What regex will match this? -


How do I write a regular expression to match the following:

  CONTEXT_84 =  

or

  CONTEXT_5 =  

Try:

  CONTEXT_ \ d {1,2} =  

This means:

< Match with letters " CONTEXT_ " really> CONTEXT_ »one Match single digits 0..9 « \ d {1,2} » Return the number of times (greedy) between times and two times as often as possible < A E> {1,2} »

RegEx built with Buddy


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -