Regex matching _app_ and _app[X]_

Regex matching _app_ and _app[X]_

input files:

898989_app_p99.pdf
353535X_appN_p99.pdf
575779X_appX_p99.pdf
524244X_appK_p99.pdf
chaituu chaituAsked:
Who is Participating?
 
Rgonzo1971Commented:
Hi,

pls try
_app[A-Z]?_

Open in new window

REgards
1
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Use this incase the characters increase for example 524244X_appMMMMM_p99.pdf
_app[A-Z]*_

Open in new window

https://regex101.com/r/yx6Qrp/1/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.