Regular Expressions 101

Community Patterns

Eclipse Keyword SPECGRID

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