Regular Expressions 101

Community Patterns

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 - 8 years ago