Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
Python

r"
SPECGRID.*?\n([ \d]+)[\s\S]*?\/
"

Description

Retrieve the first numeric parameters of the SPECGRID keyword

Submitted by Rashmin Dandekar - 9 years ago