Regex tester
Pattern
Input
Objective. Get numbers. 

Ref.: P&OCrew/LBS/287
/45/P&OCrew/LBS/287
Ref.: P&OCrew/MCCC/287

P&OCrew/MI/287
P&OCrew/ANYtextYOUwantINhere/287
*but it must be letters only

Options
Replacement
Click the context tab to see replacements.
5 matches found in about 1 millisecond.
IndexPositionMatched String
046287
167287
291287
3109287
4143287
Objective. Get numbers. 
​
​Ref.: P&OCrew/LBS/287
​/45/P&OCrew/LBS/287
​Ref.: P&OCrew/MCCC/287
​
​P&OCrew/MI/287
​P&OCrew/ANYtextYOUwantINhere/287
​*but it must be letters only
​
  1. Objective. Get numbers.

    Ref.: P&OCrew/LBS/

  2. /45/P&OCrew/LBS/

  3. Ref.: P&OCrew/MCCC/


  4. P&OCrew/MI/

  5. P&OCrew/ANYtextYOUwantINhere/

  6. *but it must be letters only