Regular Expressions 101

remove ending a's

Open Workspace
  • PCRE2 (PHP)
  • Substitution
0

Regular Expression

/
(a)+$
/
gm

Description

here we have removed the a's at the end of each line

Submitted by Anonymous