Parsing based on number followed by a space. I have a file with 1600 lines that I want to extract the code at the beginning of the line. All codes end in a number followed by a space. I want to extract the code and insert it into another field. Not all codes are the same length. I want to search for the first space and extract everything to the left of the space.
All help is welcomed.
|CCS.ELA.4.SL.6 Differentiate between contexts that call for formal English (e.g., presenting ideas) and situations where informal discourse is appropriate (e.g., small-group discussion); use formal English when appropriate to task and situation|
|CCS.ELA.11.SL.1 Initiate and participate effectively in a range of collaborative discussions (one-on-one, in groups, and teacher-led) with diverse partners on grades 11â€“12 topics, texts, and issues, building on othersâ€™ ideas and expressing their own clearly and persuasively.|