The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How do I write this RegExpr?
hi,
I want to replace a capturing group by a regexpr... see screenshot:
I only want the number "1111" after it... however the name comes in differen Variations: Einzelliste_1111 with space after the number, and another time with "_" underscore after the number, and another time with a space and some Character or other numbers after it! But I only want the number after "Einzelliste_"
so I thought the capturing group after "Einzelliste_(.*) should be sufficient because it should give me exactly that number with the $1... but it doesnt... why???
Tagged:
0
Answers
Fred,
don't you want to use:
Einzelliste_(\d+).*
this should capture only the digits.
~Martin
Dortmund, Germany